﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib;

namespace HormigaNH
{
    public class Articulo: Entity
    {
        public static Articulo Get(EntitySession session, int id)
        {
            return Get<Articulo>(session, id);
        }

        public virtual int IdArticulo
        {
            get;
            set;
        }

        public virtual string Descripcion
        {
            get;
            set;
        }

        public virtual double PrecioMinorista
        {
            get;
            set;
        }

        public virtual double PrecioMayorista
        {
            get;
            set;
        }

        public virtual double PrecioUltCompra
        {
            get;
            set;
        }

        public virtual IList<ArticuloOferta> Ofertas
        {
            get;
            set;
        }
    }
}
